package spring.demo.resource;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class MyConfig {


    @Bean
    public MyStudent myStudent() {
        return new MyStudent();
    }
}
